package com.shp.service;

import com.shp.pojo.Views;
import org.apache.ibatis.annotations.Param;

/**
 * Description:
 * 游客记录业务
 * @author zwl
 * @version 1.0
 * @date 2020/3/19 15:50
 */
public interface ViewsService {

    /**
     * 保存游客的访问记录
     * @param views 游客访问记录
     * @return 保存成功返回true，否则false
     */
    public boolean saveViews(Views views);

    /**
     * 修改游客的访问记录
     * @param views Views
     * @return 修改成功返回true，否则false
     */
    public boolean updateViews(@Param("views") Views views);
}
